<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <script src="bootstrap/js/jquery-3.7.1.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <title>登录页面</title>
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-6 col-lg-offset-3">
            <h1 class="text-center" style="padding-top: 20px;">成绩管理系统</h1>
        </div>
    </div>

    <div class="row">
        <div class="col-lg-6 col-lg-offset-3">
            <form action="loginServlet" method="post">
                <div class="form-group">
                    <label for="usernameInput">账号</label>
                    <input type="text" class="form-control " id="usernameInput" name="username" placeholder="请输入账号">
                </div>
                <div class="form-group">
                    <label for="passwordInput">密码</label>
                    <input type="password" class="form-control" id="passwordInput" name="password" placeholder="请输入密码">
                </div>
                <div class="radio">
                    <label><input type="radio" name="type" class="active">学生</label>
                    <label><input type="radio" name="type">老师</label>
                </div>
                <button type="submit" class="btn btn-primary btn-block">登录</button>
                <button type="button" class="btn btn-success btn-block">还没注册？去注册</button>
            </form>
        </div>
    </div>
</div>
</body>
</html>